package com.azure.apachedubbo.xml.consumer;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource("classpath:spring-dubbo.xml")   //1.使用xml配置文件方式
//@EnableDubbo(scanBasePackages = "com.azure.apachedubbo.xml.consumer.controller") //2.使用properties文件方式
public class XMLConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XMLConsumerApplication.class,args);
    }
}
